package bam.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Ticket entity. @author MyEclipse Persistence Tools
 */

public class Ticket implements java.io.Serializable {

	// Fields

	private Integer id;
	private String ticketName;
	private Integer giveTime;
	private Date endDate;
	private Integer indate;
	private Integer isEmploy;
	private String iden;
	private String ticketExplain;
	private String popupPic;
	private Set ticketusers = new HashSet(0);

	// Constructors

	/** default constructor */
	public Ticket() {
	}

	/** minimal constructor */
	public Ticket(String iden) {
		this.iden = iden;
	}

	/** full constructor */
	public Ticket(String ticketName, Integer giveTime, Date endDate,
			Integer indate, Integer isEmploy, String iden,
			String ticketExplain, String popupPic, Set ticketusers) {
		this.ticketName = ticketName;
		this.giveTime = giveTime;
		this.endDate = endDate;
		this.indate = indate;
		this.isEmploy = isEmploy;
		this.iden = iden;
		this.ticketExplain = ticketExplain;
		this.popupPic = popupPic;
		this.ticketusers = ticketusers;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTicketName() {
		return this.ticketName;
	}

	public void setTicketName(String ticketName) {
		this.ticketName = ticketName;
	}

	public Integer getGiveTime() {
		return this.giveTime;
	}

	public void setGiveTime(Integer giveTime) {
		this.giveTime = giveTime;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getIndate() {
		return this.indate;
	}

	public void setIndate(Integer indate) {
		this.indate = indate;
	}

	public Integer getIsEmploy() {
		return this.isEmploy;
	}

	public void setIsEmploy(Integer isEmploy) {
		this.isEmploy = isEmploy;
	}

	public String getIden() {
		return this.iden;
	}

	public void setIden(String iden) {
		this.iden = iden;
	}

	public String getTicketExplain() {
		return this.ticketExplain;
	}

	public void setTicketExplain(String ticketExplain) {
		this.ticketExplain = ticketExplain;
	}

	public String getPopupPic() {
		return this.popupPic;
	}

	public void setPopupPic(String popupPic) {
		this.popupPic = popupPic;
	}

	public Set getTicketusers() {
		return this.ticketusers;
	}

	public void setTicketusers(Set ticketusers) {
		this.ticketusers = ticketusers;
	}

}